package com.qqb.service;

import com.github.pagehelper.Page;
import com.qqb.pojo.Company;
import java.util.Map;

public interface CompanyService {

    /**
     * 分页查询
     * @param condition
     * @param pageNum
     * @param pageSize
     * @return
     */
    Page<Company> searchPageList(Map<String, String> condition, String pageNum, String pageSize);


    /**
     * 添加
     * @param company
     */
    void add(Company company) throws Exception;

    /**
     * 修改
     * @param company
     */
    void update(Company company) throws Exception;

    /**
     * 删除
     * @param ids
     */
    void delete(String[] ids);
}
